/**
 * 
 */
package lt.ruta.data;

/**
 * @author Vincentas
 *
 */
public class Record {

	private final String amount;
	
	private final String description;
	
	private final long timestamp;
	
	/**
	 * 
	 * @param amount
	 * @param description
	 */
	public Record(String amount, String description, long timestamp) {
		this.amount = amount;
		this.description = description;
		this.timestamp = timestamp;
	}

	public double getAmountDouble() {		
		return Double.parseDouble(getAmount());
	}
	
	/**
	 * @return the amount
	 */
	public String getAmount() {
		return amount;
	}
	
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @return the timestamp
	 */
	public long getTimestamp() {
		return timestamp;
	}
	
	
}
